﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Csla;
namespace EntGuayasSLA.BL.Listas.Criterias
{
    [Serializable]
    public class FaseCriteriaEstado : BusinessBase<FaseCriteriaEstado>
    {
        #region Business Methods

        public static readonly PropertyInfo<string> EstadoProperty = RegisterProperty<string>(c => c.Estado);
        public string Estado
        {
            get { return GetProperty(EstadoProperty); }
            set { SetProperty(EstadoProperty, value); }
        }

        public static readonly PropertyInfo<string> ExpedienteProperty = RegisterProperty<string>(c => c.Expediente);
        public string Expediente
        {
            get { return GetProperty(ExpedienteProperty); }
            set { SetProperty(ExpedienteProperty, value); }
        }

        #endregion

        #region Factory Methods

        public static FaseCriteriaEstado NewFaseCriteriaEstado()
        {
            return DataPortal.Create<FaseCriteriaEstado>();
        }

        private FaseCriteriaEstado()
        { /* Require use of factory methods */ }

        #endregion


    }


    [Serializable]
    public class FaseAuditoriaCriteria : BusinessBase<FaseAuditoriaCriteria>
    {
        #region Business Methods

        public static readonly PropertyInfo<string> FaseProperty = RegisterProperty<string>(c => c.Fase);
        public string Fase
        {
            get { return GetProperty(FaseProperty); }
            set { SetProperty(FaseProperty, value); }
        }

        public static readonly PropertyInfo<string> ExpedienteAuditoriaProperty = RegisterProperty<string>(c => c.ExpedienteAuditoria);
        public string ExpedienteAuditoria
        {
            get { return GetProperty(ExpedienteAuditoriaProperty); }
            set { SetProperty(ExpedienteAuditoriaProperty, value); }
        }

        #endregion

        #region Factory Methods

        public static  FaseAuditoriaCriteria NewFaseAuditoriaCriteria()
        {
            return DataPortal.Create<FaseAuditoriaCriteria>();
        }

        private FaseAuditoriaCriteria()
        { /* Require use of factory methods */ }

        #endregion


    }


    [Serializable]
    public class FaseLicenciamientoCriteria : BusinessBase<FaseLicenciamientoCriteria>
    {
        #region Business Methods

        public static readonly PropertyInfo<string> FaseProperty = RegisterProperty<string>(c => c.Fase);
        public string Fase
        {
            get { return GetProperty(FaseProperty); }
            set { SetProperty(FaseProperty, value); }
        }

        public static readonly PropertyInfo<string> ExpedienteLicProperty = RegisterProperty<string>(c => c.ExpedienteLic);
        public string ExpedienteLic
        {
            get { return GetProperty(ExpedienteLicProperty); }
            set { SetProperty(ExpedienteLicProperty, value); }
        }

        #endregion

        #region Factory Methods

        public static FaseLicenciamientoCriteria NewFaseLicenciamientoCriteria()
        {
            return DataPortal.Create<FaseLicenciamientoCriteria>();
        }

        private FaseLicenciamientoCriteria()
        { /* Require use of factory methods */ }

        #endregion


    }

   

}
